Get Relative Date Text
(13 actions, 9 KB)
0 Format Date
[CurrentDate]
»
2
DateFormatStyle
:
Custom
DateFormat
:
d
1 Format Date
[Shortcut Input]
»
DateFormatStyle
:
Custom
DateFormat
:
d
2 Calculate
[1 Formatted Date]
-
[0 Formatted Date]
»
3
6
3 If
[2 Calculation Result]
is
0
4 Text
today
5 Otherwise
6 If
[2 Calculation Result]
is
1
7 Text
tomorrow
8 Otherwise
9 Format Date
[Shortcut Input]
DateFormatStyle
:
Relative
TimeFormatStyle
:
None
RelativeDateFormatStyle
:
Short
10 End If
11 End If ▵
5
»
12 Stop and Output
[11 If Result]